package com.hcinfos.gsoo.config;

import java.util.HashMap;
import java.util.Map;

import com.hcinfos.gsoo.R;

public class Constants {

	public static int DayCount = 10;
	public static String IMG_THUMB_DIR = "/i160/";
	public static String IMG_THUMB_512_DIR = "/i512/";
	public static String SERVER = "http://www.gsoo.com/";

	public static int LOGIN_CODE = 0x9999;

	public static String DIR = "/mnt/sdcard/gsoo/";

	public static String WECHAT_ID = "wx671c79854101e5a7";

	public static Map<String, Integer> typeMap = new HashMap<String, Integer>();
	static {
		// typeMap.put("火锅", R.drawable.type_huo);
		// typeMap.put("川菜", R.drawable.type_chuan);
		// typeMap.put("粤菜", R.drawable.type_yue);
		// typeMap.put("湘菜", R.drawable.type_xiang);
		// typeMap.put("自助餐", R.drawable.type_zi);
		// typeMap.put("料理", R.drawable.type_liao);
		// typeMap.put("西餐", R.drawable.type_xi);
		// typeMap.put("小吃快餐", R.drawable.type_xiao);
	}

	/**
	 * 待用户确认 (确认后钱才会打到商家账户)
	 */
	public static final int ORDER_STATE_WAIT_USER_CHECK = 204;

	/**
	 * 交易成功(用户确认，钱后自动打到商家账户，如果用户确认时间过期，钱也会自动打到商家账户)
	 */
	public static final int ORDER_STATE_DEAL = 205;

	/**
	 * 已取消(商家) 取消订单（填写取消原因，跟着订单流程表走）
	 */
	public static final int ORDER_STATE_SUPP_CANCEL = 251;

	/**
	 * 已取消(自己)取消订单（在商家确认钱可以取消订单，填写取消原因，跟着订单流程表走）
	 */
	public static final int ORDER_STATE_USER_CANCEL = 252;

	/**
	 * 申请退款中(自己)
	 */
	public static final int ORDER_STATE_USER_REFUND = 253;

	/**
	 * 订单失效（填写取消原因，跟着订单流程表走）
	 */
	public static final int ORDER_STATE_TOUT = 261;

	/**
	 * 订单关闭（正常关闭）
	 */
	public static final int ORDER_STATE_CLOSE = 262;

	/**
	 * 等待在线支付
	 */
	public static final int ORDER_STATE_WAIT_ONLINE_PAY = 101;

	/**
	 * 等待派送
	 */
	public static final int ORDER_STATE_WAIT_DELIVERY = 201;

	/**
	 * 正在派送中
	 */
	public static final int ORDER_STATE_DELIVERYING = 202;

	/**
	 * 派送成功
	 */
	public static final int ORDER_STATE_SUCCESS_DELIVERY = 203;

	/**
	 * 货到付款
	 */
	public static final int ORDER_PAY_FACE = 0;

	/**
	 * 等待在线支付
	 */
	public static final int ORDER_PAY_ONLINE = 1;

	/**
	 * 在线支付成功
	 */
	public static final int ORDER_PAY_ONLINE_SUCCESS = 2;

	/**
	 * 在线支付失败
	 */
	public static final int ORDER_PAY_ONLINE_FAIL = 3;

	/**
	 * 已退款
	 */
	public static final int ORDER_PAY_REFUND_SUCCESS = 4;

	/**
	 * 订单支付异常
	 */
	public static final int ORDER_STATE_PAY_ERROR = 301;

}
